﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
       
    }
    protected void bt_Login_Click(object sender, EventArgs e)
    {
        string username = tb_Username.Text;
        string password = tb_Password.Text;
        AdminUser adminUser = new AdminUser();
        if (adminUser.Login(username, password))
        {
            Response.Redirect("Index.aspx");
        }

    }
}
